package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.PArticle;
import com.ruoyi.system.domain.vo.PArticleVo;
import org.apache.ibatis.annotations.Param;

/**
 * 心理咨询文章Mapper接口
 *
 * @author ruoyi
 * @date 2022-07-28
 */
public interface PArticleMapper extends BaseMapperPlus<PArticleMapper, PArticle, PArticleVo> {

    /**
     * 前端-查询文章
     */
    Page<PArticleVo> selectLeftVoPage(@Param("build") Page<PArticle> build, @Param("ew") QueryWrapper<PArticle> lqw);

    /**
     * 后台-查询文章
     */
    Page<PArticleVo> selectMyVoPage(@Param("build") Page<PArticle> build, @Param("ew") QueryWrapper<PArticle> lqw);
}
